home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
GRAPTIES
/
MACHII.LZH
/
MACHDOC.TXT
< prev
next >
Wrap
Text File
|
1980-01-01
|
33KB
|
1,441 lines
P EMACH IIF
P -Graphics at the speed of sound- ......
P EMACH II by Al DulF
P ELoading MACH IIF
P Load DOS 2.XX and GPAPHICS.COM followed by MACHII. This
P procedure will begin the program. The program has a default of
P drive A, so have all necessary files on that drive. Also, MACH
P II will, by default, use drive A to store the picture files.
P EExiting MACH IIF
P To exit MACH II, Press EAlt-F2F. Control will then be returned to
P DOS
P EINTRODUCTIONF
P This program enables you a great deal of flexibility in control
P over what you see on the screen. Basically, you have the
P graphics functions of BASICA in a new format. The program
P assumes you understand the LINE, CIRCLE, PAINT, GET, and PUT
P statements in BASIC. Consult your BASIC manual for all the
P details. First, all the functions will be described in detail.
P Then, some tips on how to get started and how to best use the
P functions in combinations with each other will be explained. The
P functions are accessed from the Function keys by themselves and
P in conjunction with the Shift, Control, and Alternate keys.
P EMACH II by Al DulF
P -EF1-F4: Change color F-
P On the bottom of the screen are four color boxes, including the
P background. A small bar inside one of the boxes indicates what
P color you will draw in. Pressing EF1F will select the background
P color for all subsequent plotting. Pressing EF2F will select the
P next color, and so on. The bar moves to indicate which color you
P are currently using.
P -EF5-F6: LinesF-
P These two keys will draw a line from a starting point, defined by
P EF10F, to the present cursor location. The starting point set by
P EF10F will from now on be called the REFERENCE POINT. While both
P keys draw lines, they perform slightly different functions.
P EF5F will draw a line from the REFERENCE POINT to the present
P cursor location and leave the REFERENCE POINT where it is. EF6F
P will draw a line, but will make the cursor location the NEW
P REFERENCE POINT.
P For example, let's say the cursor is in the center of the screen.
P Move the cursor up and press EF6F, and a line will be drawn from
P the end of the previous line, as in dot-to-dot type drawing. The
P difference between these two keys will easily be seen the first
P time they are used.
P EMACH II by Al DulF
P -EF7: Ellipse/Circle F-
P When you press this key, you will see a box on the screen. If
P you see a point, it is merely a box with zero dimensions. This
P box is your Variable Cursor, as opposed to a fixed cursor.
P Variable and Fixed refer to size, not movement. Position the
P cursor to your liking and press ENTER. Read the section on the
P Variable cursor on how to move it around the screen. In addition
P to the regular variable cursor functions, there is one special
P function in the ellipse code. Pressing "S" on the keyboard will
P Scale the variable cursor to draw a circle instead of an oval.
P After you press ENTER, an ellipse will be drawn to the size
P defined by the variable cursor. You may cancel the circle
P operation if you press ESC before you press ENTER.
P -EF8: Paint F-
P This key enables you to fill areas with a single color. Pressing
P this key will cause the cursor to disappear so as not to get in
P the way. It takes two more key presses to complete the function.
P After pressing EF8F, press EF1-F4F to indicate the color you want to
P paint WITH. The color bar on the bottom of the screen will NOT
P indicate your choice. Don't worry, the key press has been
P recorded, as indicated by a beep. Next, press EF1-F4F to indicate
P the color of the BORDER of the area to be filled. Consult the
P BASIC manual for further explanation. Be careful that there are
P EMACH II by Al DulF
P no holes in the boundary and that it is all the same color, or
P the paint will spill all over and possibly ruin the picture. You
P may also cancel the paint operation if you press ESC before you
P complete the third key press.
P -EF9: Home F-
P Pressing this key returns the cursor to the center of the screen.
P -EF10: SetPoint F-
P Pressing EF10F plots a dot in the color selected by EF1-F4F. It also
P sets the REFERENCE POINT which is used in drawing lines. It is
P advisable to set the REFERENCE POINT before you draw lines.
P Otherwise, a line you draw may shoot off in an unexpected
P direction. In other words, use this key when you're not sure
P where the REFERENCE POINT is. It is perfectly all right to use
P this key to just plot single pixels, as when working on fine
P detail or shading.
P EMACH II by Al DulF
P -EShft-F1: Change Background Color F-
P EShft-F1F changes the color of the background.
P -EShft-F2: Change Palette F-
P This key cycles through the standard IBM palettes as well as two
P non-standard palettes as well.
P The palettes are: 1) Cyan,Magenta,White
P 2) Green,Red,Yellow
P 3) Blue,Red,White
P 4) Two shades of any color.
P Press EShft-F1F to cycle through the colors.
P -EShft-F3: Get F-
P This function GETs an arbitrary rectangular area on the screen to
P be copied elsewhere on the screen (see EShft-F7-8F). First, press
P EShft-F3F to obtain the Variable Cursor. Position the cursor to
P enclose the area you wish to make a copy of and press Enter. A
P beep confirms your action. Any Variable Cursor functions may be
P used in positioning the cursor. To cancel the operation, press
P Esc before pressing Enter.
P -EShft-F4: Area DeleteF-
P The mechanics of this function are exactly the same as those of
P the GET function. First, press EShft-F4F to obtain the Variable
P Cursor. Position the cursor to enclose the area to be deleted and
P EMACH II by Al DulF
P press Enter. The area enclosed by the cursor will be erased. To
P cancel the operation, press Esc before pressing Enter.
P -EShft-F5: Box F-
P Again, the mechanics of this function are the same as the
P previous two functions. Select the color of the box by pressing
P EF1-F4F. Next press EShft-F5F to get the Variable Cursor. Position
P the cursor as desired and press Enter. To cancel, press Esc
P befor pressing Enter.
P -EShft-F6:F- Is not used at this time
P I'm open to suggestions.
P -EShft-F7: Put F-
P Places the area defined by GET on the screen. Press EShft-F7F and
P the Variable cursor will appear on the screen locked to the size
P of the last GET operation. Use the cursor keys to position the
P cursor and press Enter. If the keys do not move the cursor, press
P Num Lock. The area last GOT will appear inside the cursor. If
P you try to run off the screen, the box will get smashed in and
P become smaller. If this happens, remember that when you press
P Enter to PUT the area on the screen, the upper left hand corner
P of the area being PUT will coincide with the upper left hand
P corner of the cursor, since the area being PUT and the size of
P EMACH II by Al DulF
P the cursor are no longer the same.
P -EShft-F8: put ACTION F-
P Dictates the method used by PUT. Press the space bar to cycle
P through the choices and press Enter when your choice is
P highlighted. The choices available are PSET, PRESET, XOR, OR,
P and AND.
P EPSETF places the gotten area on the screen verbatim. Anything under
P the area is overwritten.
P EPRESETF places a photographic negative of the gotten area on the
P screen. Anything under the area is overwritten.
P EXORF causes the points on the screen to be inverted wherever a pixel
P on the screen coincides with a pixel in the area being PUT.
P EORF superimposes the area being PUT over whatever is on the screen.
P EANDF transfers the image being PUT only if an image already exists
P underneath it on the screen.
P -EShft-F9:F- Is not presently assigned.